﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using LuxDiner.Model.Orders;
using LuxDiner.Command.Orders;
namespace LuxDiner.Logic.Orders
{
    public class WarehouseLogic
    {
        public static WarehouseModel GetModel(int id)
        {
            return WarehouseCommand.GetModel(id);
        }

        public static WarehouseModel CreateNew(WarehouseModel model)
        {
            return WarehouseCommand.CreateNew(model);
        }

        public static void Update(WarehouseModel model)
        {
            WarehouseCommand.Update(model);
        }

        public static WarehouseCollection GetAll()
        {
            return WarehouseCommand.GetAll();
        }
    }
}
